<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>ble_hrs_s Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css" />
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="alias.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="alias.js"></script>

<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>


<script type="text/javascript">
  jQuery(document).ready(function () {
    if(gref){ // Number all _img and _table classes
      gref();
    }
  });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->

<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">nRF51822 BLE SDK
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('structble__hrs__s.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">ble_hrs_s Struct Reference<div class="ingroups"><a class="el" href="group__ble__sdk__srv__hrs.html">Heart Rate Service</a></div></div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="ble_hrs_s" -->
<p>Heart Rate Service structure. This contains various status information for the service.  
 <a href="structble__hrs__s.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="ble__hrs_8h_source.html">ble_hrs.h</a>&gt;</code></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__ble__sdk__srv__hrs.html#ga85836949ab0f55e7ffcaec72dd0ee6e1">ble_hrs_evt_handler_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structble__hrs__s.html#ae1a260338589ff1393ed4e142c3b6114">evt_handler</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structble__hrs__s.html#aaaa13c3a0db22699db0a41dbae23abf1">is_expended_energy_supported</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structble__hrs__s.html#a72fb2dea328affc259a55ca2447d0a48">is_sensor_contact_supported</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structble__hrs__s.html#a363e00d9262febd8d752ed2f933be1e4">service_handle</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structble__gatts__char__handles__t.html">ble_gatts_char_handles_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structble__hrs__s.html#af683c5e3e8c692ba6c20d8941483ce50">hrm_handles</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structble__gatts__char__handles__t.html">ble_gatts_char_handles_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structble__hrs__s.html#ac8656c3316e4033d2b5272af9b78234b">bsl_handles</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structble__gatts__char__handles__t.html">ble_gatts_char_handles_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structble__hrs__s.html#a8abb38d33b90b18c455e60d24e52baa7">hrcp_handles</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structble__hrs__s.html#a0d5ffe38d68e48d81e61fc6a4999ae68">conn_handle</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structble__hrs__s.html#ab02281a680ac723b2a531198b6b0cacc">is_sensor_contact_detected</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structble__hrs__s.html#a49ef1da8cb2099d18429a7483388fbc3">rr_interval</a> [BLE_HRS_MAX_BUFFERED_RR_INTERVALS]</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structble__hrs__s.html#a857463b940e3e01fdc2ed562b8e69d11">rr_interval_count</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Heart Rate Service structure. This contains various status information for the service. </p>
</div><hr/><h2>Field Documentation</h2>
<a class="anchor" id="ae1a260338589ff1393ed4e142c3b6114"></a><!-- doxytag: member="ble_hrs_s::evt_handler" ref="ae1a260338589ff1393ed4e142c3b6114" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__ble__sdk__srv__hrs.html#ga85836949ab0f55e7ffcaec72dd0ee6e1">ble_hrs_evt_handler_t</a> <a class="el" href="structble__hrs__s.html#ae1a260338589ff1393ed4e142c3b6114">evt_handler</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Event handler to be called for handling events in the Heart Rate Service. </p>

<p>Definition at line <a class="el" href="ble__hrs_8h_source.html#l00093">93</a> of file <a class="el" href="ble__hrs_8h_source.html">ble_hrs.h</a>.</p>

</div>
</div>
<a class="anchor" id="aaaa13c3a0db22699db0a41dbae23abf1"></a><!-- doxytag: member="ble_hrs_s::is_expended_energy_supported" ref="aaaa13c3a0db22699db0a41dbae23abf1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="structble__hrs__s.html#aaaa13c3a0db22699db0a41dbae23abf1">is_expended_energy_supported</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>TRUE if Expended Energy measurement is supported. </p>

<p>Definition at line <a class="el" href="ble__hrs_8h_source.html#l00094">94</a> of file <a class="el" href="ble__hrs_8h_source.html">ble_hrs.h</a>.</p>

</div>
</div>
<a class="anchor" id="a72fb2dea328affc259a55ca2447d0a48"></a><!-- doxytag: member="ble_hrs_s::is_sensor_contact_supported" ref="a72fb2dea328affc259a55ca2447d0a48" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="structble__hrs__s.html#a72fb2dea328affc259a55ca2447d0a48">is_sensor_contact_supported</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>TRUE if sensor contact detection is supported. </p>

<p>Definition at line <a class="el" href="ble__hrs_8h_source.html#l00095">95</a> of file <a class="el" href="ble__hrs_8h_source.html">ble_hrs.h</a>.</p>

</div>
</div>
<a class="anchor" id="a363e00d9262febd8d752ed2f933be1e4"></a><!-- doxytag: member="ble_hrs_s::service_handle" ref="a363e00d9262febd8d752ed2f933be1e4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t <a class="el" href="structble__hrs__s.html#a363e00d9262febd8d752ed2f933be1e4">service_handle</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Handle of Heart Rate Service (as provided by the BLE stack). </p>

<p>Definition at line <a class="el" href="ble__hrs_8h_source.html#l00096">96</a> of file <a class="el" href="ble__hrs_8h_source.html">ble_hrs.h</a>.</p>

</div>
</div>
<a class="anchor" id="af683c5e3e8c692ba6c20d8941483ce50"></a><!-- doxytag: member="ble_hrs_s::hrm_handles" ref="af683c5e3e8c692ba6c20d8941483ce50" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structble__gatts__char__handles__t.html">ble_gatts_char_handles_t</a> <a class="el" href="structble__hrs__s.html#af683c5e3e8c692ba6c20d8941483ce50">hrm_handles</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Handles related to the Heart Rate Measurement characteristic. </p>

<p>Definition at line <a class="el" href="ble__hrs_8h_source.html#l00097">97</a> of file <a class="el" href="ble__hrs_8h_source.html">ble_hrs.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac8656c3316e4033d2b5272af9b78234b"></a><!-- doxytag: member="ble_hrs_s::bsl_handles" ref="ac8656c3316e4033d2b5272af9b78234b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structble__gatts__char__handles__t.html">ble_gatts_char_handles_t</a> <a class="el" href="structble__hrs__s.html#ac8656c3316e4033d2b5272af9b78234b">bsl_handles</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Handles related to the Body Sensor Location characteristic. </p>

<p>Definition at line <a class="el" href="ble__hrs_8h_source.html#l00098">98</a> of file <a class="el" href="ble__hrs_8h_source.html">ble_hrs.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8abb38d33b90b18c455e60d24e52baa7"></a><!-- doxytag: member="ble_hrs_s::hrcp_handles" ref="a8abb38d33b90b18c455e60d24e52baa7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structble__gatts__char__handles__t.html">ble_gatts_char_handles_t</a> <a class="el" href="structble__hrs__s.html#a8abb38d33b90b18c455e60d24e52baa7">hrcp_handles</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Handles related to the Heart Rate Control Point characteristic. </p>

<p>Definition at line <a class="el" href="ble__hrs_8h_source.html#l00099">99</a> of file <a class="el" href="ble__hrs_8h_source.html">ble_hrs.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0d5ffe38d68e48d81e61fc6a4999ae68"></a><!-- doxytag: member="ble_hrs_s::conn_handle" ref="a0d5ffe38d68e48d81e61fc6a4999ae68" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t <a class="el" href="structble__hrs__s.html#a0d5ffe38d68e48d81e61fc6a4999ae68">conn_handle</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Handle of the current connection (as provided by the BLE stack, is BLE_CONN_HANDLE_INVALID if not in a connection). </p>

<p>Definition at line <a class="el" href="ble__hrs_8h_source.html#l00100">100</a> of file <a class="el" href="ble__hrs_8h_source.html">ble_hrs.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab02281a680ac723b2a531198b6b0cacc"></a><!-- doxytag: member="ble_hrs_s::is_sensor_contact_detected" ref="ab02281a680ac723b2a531198b6b0cacc" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="structble__hrs__s.html#ab02281a680ac723b2a531198b6b0cacc">is_sensor_contact_detected</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>TRUE if sensor contact has been detected. </p>

<p>Definition at line <a class="el" href="ble__hrs_8h_source.html#l00101">101</a> of file <a class="el" href="ble__hrs_8h_source.html">ble_hrs.h</a>.</p>

</div>
</div>
<a class="anchor" id="a49ef1da8cb2099d18429a7483388fbc3"></a><!-- doxytag: member="ble_hrs_s::rr_interval" ref="a49ef1da8cb2099d18429a7483388fbc3" args="[BLE_HRS_MAX_BUFFERED_RR_INTERVALS]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t <a class="el" href="structble__hrs__s.html#a49ef1da8cb2099d18429a7483388fbc3">rr_interval</a>[BLE_HRS_MAX_BUFFERED_RR_INTERVALS]</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set of RR Interval measurements since the last Heart Rate Measurement transmission. </p>

<p>Definition at line <a class="el" href="ble__hrs_8h_source.html#l00102">102</a> of file <a class="el" href="ble__hrs_8h_source.html">ble_hrs.h</a>.</p>

</div>
</div>
<a class="anchor" id="a857463b940e3e01fdc2ed562b8e69d11"></a><!-- doxytag: member="ble_hrs_s::rr_interval_count" ref="a857463b940e3e01fdc2ed562b8e69d11" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t <a class="el" href="structble__hrs__s.html#a857463b940e3e01fdc2ed562b8e69d11">rr_interval_count</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Number of RR Interval measurements since the last Heart Rate Measurement transmission. </p>

<p>Definition at line <a class="el" href="ble__hrs_8h_source.html#l00103">103</a> of file <a class="el" href="ble__hrs_8h_source.html">ble_hrs.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>S110_nRF51822/Include/ble/ble_services/<a class="el" href="ble__hrs_8h_source.html">ble_hrs.h</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="structble__hrs__s.html">ble_hrs_s</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">
      Copyright &copy 2006-2011 <a href="http://www.nordicsemi.no" style="text-decoration:none">Nordic Semiconductor</a>.
      All Rights Reserved.
      <a href="disclaimer.html">Disclaimer</a>
    </li>
   </ul>
 </div>


</body>
</html>
